package com.lxf.api;/**
 * Created by Administrator on 2018/4/17 0017.
 */

import com.lxf.mybatis.mapper.UserMapper;
import com.lxf.mybatis.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author lxf
 * @create 2018-04-17 11:44
 **/
//测试接口

@RestController
@RequestMapping(value="/users")
public class Test extends BaseController implements com.lxf.api.swagger2.Test {
  @Autowired
  UserMapper user;
  @RequestMapping(value={"/getusers"}, method= RequestMethod.GET)
    public List<User> getUsers() {
   return null;
    }
    @RequestMapping(value={"/create_user"}, method= RequestMethod.POST)
    public String postUser(User user) {
        return null;
    }
    @RequestMapping(value={"/getuser_detail"},method= RequestMethod.GET)
    public User getUser(Long id) {
        return null;
    }
    @RequestMapping(value={"/delete_user"},method= RequestMethod.GET)
    public String deleteUser(Long id) {
        return null;
    }
}
